package weka.roleminers;

import weka.core.Capabilities;
import weka.core.Instances;

public interface RoleMiner {

	/**
	 *
	 *
	 * @param data set of instances serving as training data 
	 * @exception Exception if the role miner has not been 
	 * generated successfully
	 */
	 void mineRoles(Instances data) throws Exception;

	  /** 
	   * Returns the Capabilities of this Role miner. Derived role miners have to
	   * override this method to enable capabilities.
	   *
	   * @return            the capabilities of this object
	   * @see               Capabilities
	   */
	  Capabilities getCapabilities();
}
